File manager - Edit - /home/autoph/public_html/projects/ahg-prf-api/database/migrations/payableOrderHdr.php
Back
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('payable_orders', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('po_header_id'); $table->integer('company_id'); $table->integer('dealer_id'); $table->integer('supplier_id'); $table->String('invoice_number'); $table->String('dr_number'); $table->String('po_terms_id'); $table->decimal('po_amount',12,2); $table->dateTime('po_date'); $table->decimal('invoice_amount',12,2); $table->dateTime('invoice_date'); $table->date('due_date'); $table->integer('status'); $table->boolean('enabled')->default(true); $table->integer('created_by'); $table->integer('updated_by'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('payable_orders'); } };
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings